package Chapter05;


import Chapter05.model.Cat;
import Chapter05.model.Dog;
import Chapter05.model.Simulator;


public class Application {
    public static void main(String args[]) {
        Simulator simulator = new Simulator();
        simulator.playSound(new Dog());
        simulator.playSound(new Cat());
    }
}
